package day0117.b;

import day0117.a.PPTV;
import day0117.a.TV;

public class Test2 {
    Test2(){
        /*TV t=new TV();
        //不同包中类中不可以访问protected修饰的成员变量
        t.brand="PPTV";
        String b=t.getBrand();
        System.out.println(b);*/
    }

    public static void main(String[] args) {
        new Test2();
    }
}

